<form action="dien-thoai/{$row.dt_id_seo}" method="post" class="form-horizontal" id="comment-form">
    <input type="hidden" id="dt_id" value="{$row.dt_id}" />
    <div class="control-group">
        <label for="hoten" class="control-label">Họ tên</label>
        <div class="controls">
            <input type="text" id="hoten" name="hoten">
        </div>
    </div>

    <div class="control-group">
        <label for="email" class="control-label">Email</label>
        <div class="controls">
            <input type="text" id="email" name="email">
        </div>
    </div>

    <div class="control-group">
        <label for="nhanxet" class="control-label">Nhận xét của bạn </label>
        <div class="controls">
            <textarea id="nhanxet" name="nhanxet"></textarea>
        </div>
    </div>
    <div class="buttons">
        <button type="submit" name="submit_comment" class="btn">Gửi</button>
    </div>
</form>

<div id="comments-wrap" class="{$show_comment}">

<h2 id="nx-titile">Nhận xét</h2>
<div id="comments">
{if isset($comments_list) && count($comments_list)}
    {foreach $comments_list as $item}
        <div class="comment">
            <h3><strong>{$item.nx_hoten}</strong><em>{$item.nx_email}</em><span>{$item.nx_ngay}</span></h3>

            <div class="comment-content">
                {$item.nx_noidung}
            </div>
        </div>
    {/foreach}
{/if}
</div>
</div>


{css style/dienthoai-comments.css}
{js scripts/comments.js}

